<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript">
        function redirect(url){
            window.location.href = url;
        }
    </script>
    </head>
    <body>
        <div><button onclick="redirect('http://www.baidu.com')" type="button">HaHa</button></div>
    </body>
</html>
